package com.aidex.system.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
/**
 * 优化建议规则设置对象 optimization_suggestion_rule
 * @author jmy
 * @email jmyinjg@163.com
 * @date 2021-10-09
 */
@Data
public class OptimizationSuggestionRule extends BaseEntity<OptimizationSuggestionRule>
{
    private static final long serialVersionUID = 1L;

    /** 难通过X光机清单语义阈值-0-100 保留两位小数 */
    @Excel(name = "难通过X光机清单语义阈值-0-100 保留两位小数")
    private BigDecimal xrayLimit;

    /** 隐含危险品清单语义阈值-0-100 保留两位小数 */
    @Excel(name = "隐含危险品清单语义阈值-0-100 保留两位小数")
    private BigDecimal riskLimit;

    /** 隐含危险品清单匹配次数- */
    @Excel(name = "隐含危险品清单匹配次数-")
    private Integer riskMatchTime;

    /** 疑似风险品清单风险程度阈值-0-100 保留两位小数 */
    @Excel(name = "疑似风险品清单风险程度阈值-0-100 保留两位小数")
    private BigDecimal dangerousLimit;

    public void setXrayLimit(BigDecimal xrayLimit) 
    {
        this.xrayLimit = xrayLimit;
    }

    public BigDecimal getXrayLimit() 
    {
        return xrayLimit;
    }

    public void setRiskLimit(BigDecimal riskLimit) 
    {
        this.riskLimit = riskLimit;
    }

    public BigDecimal getRiskLimit() 
    {
        return riskLimit;
    }

    public void setRiskMatchTime(Integer riskMatchTime)
    {
        this.riskMatchTime = riskMatchTime;
    }

    public Integer getRiskMatchTime()
    {
        return riskMatchTime;
    }

    public void setDangerousLimit(BigDecimal dangerousLimit) 
    {
        this.dangerousLimit = dangerousLimit;
    }

    public BigDecimal getDangerousLimit() 
    {
        return dangerousLimit;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("xrayLimit", getXrayLimit())
            .append("riskLimit", getRiskLimit())
            .append("riskMatchTime", getRiskMatchTime())
            .append("dangerousLimit", getDangerousLimit())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
